home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 August: Tool Chest / Dev.CD Aug 95 TC / Dev.CD Aug 95 TC.toast / New System Software Extensions / QuickDraw™ GX 1.1.2 / Programming Stuff / Sample Code / Printing Samples / Extensions… / Backwash ƒ / Backwash.make < prev    next >
Encoding:
Text File  |  1995-04-10  |  1.5 KB  |  58 lines  |  [TEXT/MPS ]

  1. #    File:        Backwash.make
  2. #   Target:     Backwash
  3. #   Sources:    Backwash.a Backwash.c Backwash.r
  4. #   Created:    Wednesday, Nov. 11, 1992 6:42:32 PM
  5. #
  6. #    Makefile for the Backwash printing extension.
  7. #
  8. #    Dave Hersey
  9. #    Apple Developer Technical Support
  10. #
  11. #    11/11/92 - dmh - Created.
  12. #     1/28/93 - dmh - Cleaned up for a5 seed CD.
  13. #     3/26/93 - dmh - Updated for b1c2.
  14. #     8/24/93 - dmh - Updated for b2.
  15. #    12/18/93 - dmh - Updated for b3.
  16. #     8/24/94 - dmh - Finalized.
  17.  
  18. #    Alias to the path of the GX interface files, and to
  19. #    the objects that we'll be linking.
  20.  
  21. INTPATH = {CIncludes}
  22.  
  23. OBJECTS = Backwash.a.o Backwash.c.o
  24.  
  25.  
  26. # Our creator type:
  27.  
  28. kCreator = 'SpIT'
  29.  
  30.  
  31. #    The assembly/C options we want to use.  Make sure you use
  32. #    the -b2 option or your static strings will be treated as
  33. #    global data, and the linker will have a hissy.
  34.  
  35. AsmOptions        = -sym off -i "{INTPATH}" -case obj
  36. CompileOptions    = -sym off -i "{INTPATH}" -d applec -opt full -mbg off -b2 -r
  37.  
  38.  
  39. Backwash.a.o ƒ Backwash.make Backwash.a
  40.      Asm {AsmOptions} Backwash.a
  41. Backwash.c.o ƒ Backwash.make Backwash.c
  42.      C {CompileOptions} Backwash.c
  43.  
  44. Backwash ƒƒ Backwash.make Backwash.r {OBJECTS}
  45.     Link    -ra =resSysHeap,resPurgeable    ∂
  46.             -c {kCreator}                    ∂
  47.             -t 'pext'                        ∂
  48.             -rt pext=0                        ∂
  49.             -sg SEGS                        ∂
  50.             -m EntryPoint                    ∂
  51.             {OBJECTS}                        ∂
  52.             "{CLibraries}"StdCLib.o            ∂
  53.             "{Libraries}"Interface.o        ∂
  54.             "{Libraries}"Runtime.o            ∂
  55.             -o Backwash;
  56.     SetFile Backwash -a iB;
  57.     Rez -i "{INTPATH}" -rd -o Backwash Backwash.r -append 
  58.